#include "inserttabledlgimpl.h"
//
InsertTableDlgImpl::InsertTableDlgImpl( QWidget * parent, Qt::WFlags f) 
	: QDialog(parent, f)
{
	setupUi(this);
}

void InsertTableDlgImpl::setResizeMode(int nbRows, int nbCols)
{
	this->setWindowTitle(tr("Resize table"));
	
	this->gbTableParameters->setVisible(false);
	this->gbHAlign->setVisible(false);
	this->sbRowsNumber->setValue(nbRows);
	this->sbColumnNumber->setValue(nbCols);
	
	this->resize(this->width(), 10);
	this->updateGeometry();	
}
//

